﻿using System.ComponentModel.DataAnnotations;

namespace BasicData.API.Read.Dtos
{
    /// <summary>
    /// 用户dto
    /// </summary>
    public class UserDTO
    {
        /// <summary>
        /// 用户编号
        /// </summary>
       
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string UserPass { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNickname { get; set; }
        /// <summary>
        /// 角色id
        /// </summary>
    
        public int RoleId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 令牌
        /// </summary>
        public string Token {  get; set; }
    }
}
